package com.weiweiqin.service;


import java.util.List;
import java.util.Map;

import com.weiweiqin.model.Goods;
import com.weiweiqin.model.GoodsCategoryItem;
import com.weiweiqin.model.Pic;
import com.weiweiqin.vo.common.Page;

public interface GoodsService {
	
	void  update(Goods goods);
	
	Goods get(int id);
	
	List<Goods> pageList(Page page,Map<String,Object> conditions);
	
	int totalCount();
	
	void save(Goods goods);
	
	List<Goods> getListByCategoryId(int categoryId);
	
	 void savePic(Pic pic);
	 
	 void saveGoodsCategoryItem(GoodsCategoryItem goodsCategoryItem);
	 
	 void del(int id );
}